package com.muyu.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 用户标签中间表
 *
 * @author <a href="mailto:1416681852@qq.com">liuguoqiang</a>
 * @version 1.0
 * @description: 用户标签中间表
 * @date 2025/9/17 16:33
 */
@Data
@TableName("sys_user_tag_relation")
public class SysUserTagRelation {
    @TableId(type = IdType.AUTO)
    private Long id;
    //用户id
    private Long userId;
    //用户标签
    private Long tagId;
    //创建时间
    @JsonFormat(locale = "yyyy-MM-dd",timezone = "GTM+8")
    private Date createTime;
}
